﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhilWicklund.com.LimitedAccessReport
{
	public class LimitedObject
	{
		public enum ObjectType
		{
			List,
			ListItem,
			Folder
		};

		private string id;
		private string defName;
		private string url;
		private string listTitle;
		private string itemTitle;
		private ObjectType type;

		public string ID
		{
			get { return id; }
		}

		public string DefinitionName
		{
			get { return defName; }
		}

		public string Url
		{
			get { return url; }
		}

		public string ListTitle
		{
			get { return listTitle; }
		}

		public string ItemTitle
		{
			get { return itemTitle; }
		}

		public ObjectType Type
		{
			get { return type; }
		}

		public LimitedObject()
		{

		}

		public LimitedObject(string id, string roleName, string url, string listTitle, string itemTitle, ObjectType type)
		{
			this.defName = roleName;
			this.id = id;
			this.url = url;
			this.listTitle = listTitle;
			this.itemTitle = itemTitle;
			this.type = type;
		}
	}
}
